/*
 * auth.h
 *
 *  Created on: Feb 12, 2012
 *      Author: jiabin
 */

#ifndef AUTH_H_
#define AUTH_H_

#include "splitter.h"

int auth_active(struct connection *conn, const char *own_cert, const char *own_key, const char *tarCN);
int auth_passive(struct connection *conn, const char *own_cert, const char *own_key, const char *tarCN, enum bool forge);

#endif /* AUTH_H_ */
